package com.gxa.modules.model.entity.hospital;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 套餐类型
 * </p>
 *
 * @author gxa
 * @since 2022-11-12 11:20:15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_package_type")
@ApiModel(value = "PackageType对象", description = "套餐类型")
public class PackageType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("套餐类型id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("套餐类型名字")
    @TableField("name")
    private String name;

    @ApiModelProperty("套餐类型描述")
    @TableField("describes")
    private String describe;

    @ApiModelProperty("所含套餐")
    @TableField("context")
    private String context;

    @ApiModelProperty("套餐状态")
    @TableField("state")
    private Integer state;

    @ApiModelProperty("医院id")
    @TableField("hosp_id")
    private Integer hospId;

    @ApiModelProperty("0未删 1已删")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;


}
